﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Toon.Controls
{
	public partial class CharacterSheet : UserControl
	{
		public CharacterSheet()
		{
			InitializeComponent();
		}
















		public static readonly DependencyProperty EditModeProperty = DependencyProperty.Register("EditMode", typeof(EditMode), typeof(CharacterSheet), new PropertyMetadata(EditMode.SkillPoints, OnEditModeChanged));


		private static void OnEditModeChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
		{
			CharacterSheet characterSheet = o as CharacterSheet;
			if (characterSheet != null)
				characterSheet.OnEditModeChanged((EditMode)e.OldValue, (EditMode)e.NewValue);
		}

		protected virtual void OnEditModeChanged(EditMode oldValue, EditMode newValue)
		{

		}

		public EditMode EditMode
		{
			get { return (EditMode)GetValue(EditModeProperty); }
			set { SetValue(EditModeProperty, value); }
		}

		private void Occupation_Click(object sender, RoutedEventArgs e)
		{
			MessageBox.Show("Occupation_Click");

		}

		private void BeliefsAndGoals_Click(object sender, RoutedEventArgs e)
		{
			MessageBox.Show("BeliefsAndGoals_Click");

		}

		private void NaturalEnemies_Click(object sender, RoutedEventArgs e)
		{
			MessageBox.Show("NaturalEnemies_Click");

		}

		private void Species_Click(object sender, RoutedEventArgs e)
		{
			MessageBox.Show("Species_Click");

		}

		private void Name_Click(object sender, RoutedEventArgs e)
		{
			MessageBox.Show("Name_Click");
		}
	}
}